package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;
import java.util.List;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cuser.business.entity.po.BCyberBaseTaskReply;

public interface ICyberBaseTaskReplyDao {

	public Long addReply(BCyberBaseTaskReply reply) throws SQLException;

	public void updateReply(BCyberBaseTaskReply reply) throws SQLException;

	public int deleteReply(String reply);

	public BCyberBaseTaskReply getReply(String replyId);

	public BCyberBaseTaskReply getReplyByCode(String code) throws SQLException;

	public void batchInsert(List<BCyberBaseTaskReply> sentList);

	public PageData<BCyberBaseTaskReply> getReplyList(int pageNum, int pageSize, String hql, Object[] params,
			LinkedHashMap<String, String> replyMap) throws SQLException;

	public List getReplyListByHql(int pageNum, int pageSize, String hql, Object[] params) throws SQLException;

}
